import junit.framework.TestCase;


public class CalculadoraTest extends TestCase { 
	     
	public CalculadoraTest(String testName) { 
		super(testName); 	    
	}
	
	public void testAdd() { 
		        System.out.println("add"); 
		        double number1 = 0.0; 
		        double number2 = 0.0; 
		        Calculadora instance = new Calculadora(); 
		        double expResult = 0.0; 
		        double result = instance.add(number1, number2); 
		        assertEquals(expResult, result); 
	}

	public void testSubtract() {
		System.out.println("subtract"); 
        double number1 = 0.0; 
        double number2 = 0.0; 
        Calculadora instance = new Calculadora(); 
        double expResult = 0.0; 
        double result = instance.subtract(number1, number2); 
        assertEquals(expResult, result); 
	}

	public void testMultiply() {
		System.out.println("multiply"); 
        double number1 = 0.0; 
        double number2 = 0.0; 
        Calculadora instance = new Calculadora(); 
        double expResult = 0.0; 
        double result = instance.multiply(number1, number2); 
        assertEquals(expResult, result); 
	}

	public void testDivide() {
		System.out.println("divide"); 
        double number1 = 0.0; 
        double number2 = 0.0; 
        Calculadora instance = new Calculadora(); 
        double expResult = 0.0; 
        double result = instance.divide(number1, number2); 
        assertEquals(expResult, result); 
	}
	
	public void testPotencia() {
		System.out.println("Potencia");
		double num1 = 0.0;
		double num2 = 0.0;
		Calculadora instancia = new Calculadora();
		double emaitza = instancia.potencia(num1, num2); 
		System.out.println(emaitza);
		assertEquals(1.0, emaitza);
	}
	
}
	
	
